﻿using Microsoft.AspNetCore.Authorization;

namespace BasicModuleWebApiAuthorization.Authorization
{
    /// <summary>
    /// 定义密码授权
    /// </summary>
    public class UserNameAuthorization : IAuthorizationRequirement
    {
        public List<string> names { get; set; }

        public UserNameAuthorization(List<string> strings)
        {
            this.names = strings;
        }
    }
}
